package com.oracle.service.imple;

import com.oracle.dao.CategoryMapper;
import com.oracle.pojo.Category;
import com.oracle.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("categoryService")
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    private CategoryMapper category;
    @Override
    public List<Category> findCategoryByPid(Integer pid) {
        return category.findCategoryByPid(pid);
    }
}
